package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import com.wjc.train.${moduleName}.req.${entity}QueryReq;
import com.wjc.train.${moduleName}.resp.${entity}QueryResp;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName}  {

  /**
     * 保存或修改
     * @param ${lowerEntity}SaveReq
     */
    void save(${entity}SaveReq ${lowerEntity}SaveReq);

    /**
     * 分页查询
     * @param page
     * @param ${lowerEntity}QueryReq
     * @return
     */
    IPage<${entity}QueryResp> queryList(IPage<${entity}QueryResp> page, ${entity}QueryReq ${lowerEntity}QueryReq);

    /**
     * 删除
     * @param id
     */
    void delete(Long id);


}
</#if>
